
//------------------------------------------------------------------------------

namespace Apps.Models
{
     using System.ComponentModel.DataAnnotations.Schema;
    using System;
    using System.Collections.Generic;
    
    [Table("SPL_PRODUCT")] 
     public partial class Spl_Product
    {
        [Column("ID"), System.ComponentModel.DataAnnotations.Key] 
     public string Id { get; set; }
        [Column("NAME")] 
     public string Name { get; set; }
        [Column("CODE")] 
     public string Code { get; set; }
        [Column("PRICE")] 
     public decimal Price { get; set; }
        [Column("COLOR")] 
     public string Color { get; set; }
        [Column("NUMBER")] 
     public decimal Number { get; set; }
        [Column("CATEGORYID")] 
     public string CategoryId { get; set; }
        [Column("CREATETIME")] 
     public System.DateTime CreateTime { get; set; }
        [Column("CREATEBY")] 
     public string CreateBy { get; set; }
        [Column("COSTPRICE")] 
     public Nullable<decimal> CostPrice { get; set; }
    
        public virtual Spl_ProductCategory Spl_ProductCategory { get; set; }
    }
}
